package com.iweb.day08;

/**
 * @author WuYongheng
 * @date 2021/11/10
 * @description
 */
public class TestB {
    public static void main(String[] args) {
        TestC o = new TestC();
        new TestB().addOne(o);
    }
    public void addOne(final TestC testC) {
        System.out.println(testC.i++);
    }
}

class TestC {
    public int i=1;
}

